*updateProductMaturity({ payload: { params, reset, cb } }, { call, put }) {
  try {
    yield call(productService.updateProductMaturity, params);
    message.success('期限配置修改成功！');
    if (cb) cb();
    yield put({
      type: 'fetchProductMaturity',
      payload: {
        productId: params.productId,
      },
    });
  } catch (e) {
    if (reset) reset();
    message.error(e.message, 3);
  }
},
